<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/xhtml;charset=utf-8" http-equiv="Content-Type"/>
<meta content="IE=9" http-equiv="X-UA-Compatible"/>
<meta content="Doxygen 1.8.13" name="generator"/>
<title>OpenCV: Graph API: Image Structural Analysis and Shape Descriptors</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon"/>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script src="../../jquery.js" type="text/javascript"></script>
<script src="../../dynsections.js" type="text/javascript"></script>
<script src="../../tutorial-utils.js" type="text/javascript"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script src="../../search/searchdata.js" type="text/javascript"></script>
<script src="../../search/search.js" type="text/javascript"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          forkfour: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ #7 & \\mbox{#8}\\\\ \\end{array} \\right.", 8],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          cameramatrix: ["#1 = \\begin{bmatrix} f_x & 0 & c_x\\\\ 0 & f_y & c_y\\\\ 0 & 0 & 1 \\end{bmatrix}", 1],
          distcoeffs: ["(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \\tau_x, \\tau_y]]]]) \\text{ of 4, 5, 8, 12 or 14 elements}"],
          distcoeffsfisheye: ["(k_1, k_2, k_3, k_4)"],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>
</script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js" type="text/javascript"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css"/>
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellpadding="0" cellspacing="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenCV
    <span id="projectnumber">4.5.2</span>
   </div>
   <div id="projectbrief">Open Source Computer Vision</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script src="../../menudata.js" type="text/javascript"></script>
<script src="../../menu.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow" onkeydown="return searchBox.OnSearchSelectKey(event)" onmouseout="return searchBox.OnSearchSelectHide()" onmouseover="return searchBox.OnSearchSelectShow()">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe frameborder="0" id="MSearchResults" name="MSearchResults" src="javascript:void(0)">
</iframe>
</div>
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Graph API: Image Structural Analysis and Shape Descriptors<div class="ingroups"><a class="el" href="../../d2/d00/group__gapi__imgproc.html">G-API Image processing functionality</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga835a4f683fb0106712b5cec7f9c2589a"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../de/dfd/classcv_1_1GOpaque.html">GOpaque</a>&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga11d95de507098e90bad732b9345402e8">Rect</a> &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d01/group__gapi__shape.html#ga835a4f683fb0106712b5cec7f9c2589a">cv::gapi::boundingRect</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src)</td></tr>
<tr class="memdesc:ga835a4f683fb0106712b5cec7f9c2589a"><td class="mdescLeft"> </td><td class="mdescRight">Calculates the up-right bounding rectangle of a point set or non-zero pixels of gray-scale image.  <a href="../../d3/d01/group__gapi__shape.html#ga835a4f683fb0106712b5cec7f9c2589a">More...</a><br/></td></tr>
<tr class="separator:ga835a4f683fb0106712b5cec7f9c2589a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga1ee6d7e275919034bba507b63e20bb1e"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../de/dfd/classcv_1_1GOpaque.html">GOpaque</a>&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga11d95de507098e90bad732b9345402e8">Rect</a> &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d01/group__gapi__shape.html#ga1ee6d7e275919034bba507b63e20bb1e">cv::gapi::boundingRect</a> (const <a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a>&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga0f70b52f0c0b119f7ed2448ffebdc144">Point2i</a> &gt; &amp;src)</td></tr>
<tr class="separator:ga1ee6d7e275919034bba507b63e20bb1e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaff3ba7d917af91af45fe037dbee34edc"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../de/dfd/classcv_1_1GOpaque.html">GOpaque</a>&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga11d95de507098e90bad732b9345402e8">Rect</a> &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d01/group__gapi__shape.html#gaff3ba7d917af91af45fe037dbee34edc">cv::gapi::boundingRect</a> (const <a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a>&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga7d080aa40de011e4410bca63385ffe2a">Point2f</a> &gt; &amp;src)</td></tr>
<tr class="separator:gaff3ba7d917af91af45fe037dbee34edc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga1fd818a19d4dca0e40b5b6dfd833c29c"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a>&lt; <a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a>&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1e83eafb2d26b3c93f09e8338bcab192">Point</a> &gt; &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d01/group__gapi__shape.html#ga1fd818a19d4dca0e40b5b6dfd833c29c">cv::gapi::findContours</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src, const <a class="el" href="../../d3/dc0/group__imgproc__shape.html#ga819779b9857cc2f8601e6526a3a5bc71">RetrievalModes</a> mode, const <a class="el" href="../../d3/dc0/group__imgproc__shape.html#ga4303f45752694956374734a03c54d5ff">ContourApproximationModes</a> method, const <a class="el" href="../../de/dfd/classcv_1_1GOpaque.html">GOpaque</a>&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1e83eafb2d26b3c93f09e8338bcab192">Point</a> &gt; &amp;offset)</td></tr>
<tr class="memdesc:ga1fd818a19d4dca0e40b5b6dfd833c29c"><td class="mdescLeft"> </td><td class="mdescRight">Finds contours in a binary image.  <a href="../../d3/d01/group__gapi__shape.html#ga1fd818a19d4dca0e40b5b6dfd833c29c">More...</a><br/></td></tr>
<tr class="separator:ga1fd818a19d4dca0e40b5b6dfd833c29c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga9eae11dc4df21484b6dd20a39b9f15a4"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a>&lt; <a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a>&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1e83eafb2d26b3c93f09e8338bcab192">Point</a> &gt; &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d01/group__gapi__shape.html#ga9eae11dc4df21484b6dd20a39b9f15a4">cv::gapi::findContours</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src, const <a class="el" href="../../d3/dc0/group__imgproc__shape.html#ga819779b9857cc2f8601e6526a3a5bc71">RetrievalModes</a> mode, const <a class="el" href="../../d3/dc0/group__imgproc__shape.html#ga4303f45752694956374734a03c54d5ff">ContourApproximationModes</a> method)</td></tr>
<tr class="separator:ga9eae11dc4df21484b6dd20a39b9f15a4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gae7fa75ba0e378714f4e0676cf7c30f39"><td align="right" class="memItemLeft" valign="top">std::tuple&lt; <a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a>&lt; <a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a>&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1e83eafb2d26b3c93f09e8338bcab192">Point</a> &gt; &gt;, <a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a>&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga94ce799099ae6cdd66685e3fd0cad7d7">Vec4i</a> &gt; &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d01/group__gapi__shape.html#gae7fa75ba0e378714f4e0676cf7c30f39">cv::gapi::findContoursH</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src, const <a class="el" href="../../d3/dc0/group__imgproc__shape.html#ga819779b9857cc2f8601e6526a3a5bc71">RetrievalModes</a> mode, const <a class="el" href="../../d3/dc0/group__imgproc__shape.html#ga4303f45752694956374734a03c54d5ff">ContourApproximationModes</a> method, const <a class="el" href="../../de/dfd/classcv_1_1GOpaque.html">GOpaque</a>&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1e83eafb2d26b3c93f09e8338bcab192">Point</a> &gt; &amp;offset)</td></tr>
<tr class="memdesc:gae7fa75ba0e378714f4e0676cf7c30f39"><td class="mdescLeft"> </td><td class="mdescRight">Finds contours and their hierarchy in a binary image.  <a href="../../d3/d01/group__gapi__shape.html#gae7fa75ba0e378714f4e0676cf7c30f39">More...</a><br/></td></tr>
<tr class="separator:gae7fa75ba0e378714f4e0676cf7c30f39"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gad5b9c4926ec507e5c7ad98955da3b2b3"><td align="right" class="memItemLeft" valign="top">std::tuple&lt; <a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a>&lt; <a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a>&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1e83eafb2d26b3c93f09e8338bcab192">Point</a> &gt; &gt;, <a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a>&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga94ce799099ae6cdd66685e3fd0cad7d7">Vec4i</a> &gt; &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d01/group__gapi__shape.html#gad5b9c4926ec507e5c7ad98955da3b2b3">cv::gapi::findContoursH</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src, const <a class="el" href="../../d3/dc0/group__imgproc__shape.html#ga819779b9857cc2f8601e6526a3a5bc71">RetrievalModes</a> mode, const <a class="el" href="../../d3/dc0/group__imgproc__shape.html#ga4303f45752694956374734a03c54d5ff">ContourApproximationModes</a> method)</td></tr>
<tr class="separator:gad5b9c4926ec507e5c7ad98955da3b2b3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gacb3256a3338a0a73bb22ccac4a7fc912"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../de/dfd/classcv_1_1GOpaque.html">GOpaque</a>&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga4f29b2178d21a471ee688b14d66d6567">Vec4f</a> &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d01/group__gapi__shape.html#gacb3256a3338a0a73bb22ccac4a7fc912">cv::gapi::fitLine2D</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src, const <a class="el" href="../../d7/d1b/group__imgproc__misc.html#gaa2bfbebbc5c320526897996aafa1d8eb">DistanceTypes</a> distType, const double param=0., const double reps=0., const double aeps=0.)</td></tr>
<tr class="memdesc:gacb3256a3338a0a73bb22ccac4a7fc912"><td class="mdescLeft"> </td><td class="mdescRight">Fits a line to a 2D point set.  <a href="../../d3/d01/group__gapi__shape.html#gacb3256a3338a0a73bb22ccac4a7fc912">More...</a><br/></td></tr>
<tr class="separator:gacb3256a3338a0a73bb22ccac4a7fc912"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga9f160d6d8c1391f52def4b131cfe081c"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../de/dfd/classcv_1_1GOpaque.html">GOpaque</a>&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga4f29b2178d21a471ee688b14d66d6567">Vec4f</a> &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d01/group__gapi__shape.html#ga9f160d6d8c1391f52def4b131cfe081c">cv::gapi::fitLine2D</a> (const <a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a>&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga0f70b52f0c0b119f7ed2448ffebdc144">Point2i</a> &gt; &amp;src, const <a class="el" href="../../d7/d1b/group__imgproc__misc.html#gaa2bfbebbc5c320526897996aafa1d8eb">DistanceTypes</a> distType, const double param=0., const double reps=0., const double aeps=0.)</td></tr>
<tr class="separator:ga9f160d6d8c1391f52def4b131cfe081c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaa254b4262949c7e5295eec09d6d78c18"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../de/dfd/classcv_1_1GOpaque.html">GOpaque</a>&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga4f29b2178d21a471ee688b14d66d6567">Vec4f</a> &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d01/group__gapi__shape.html#gaa254b4262949c7e5295eec09d6d78c18">cv::gapi::fitLine2D</a> (const <a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a>&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga7d080aa40de011e4410bca63385ffe2a">Point2f</a> &gt; &amp;src, const <a class="el" href="../../d7/d1b/group__imgproc__misc.html#gaa2bfbebbc5c320526897996aafa1d8eb">DistanceTypes</a> distType, const double param=0., const double reps=0., const double aeps=0.)</td></tr>
<tr class="separator:gaa254b4262949c7e5295eec09d6d78c18"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga11815ea485ab329e9bcafa2fb84bbc66"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../de/dfd/classcv_1_1GOpaque.html">GOpaque</a>&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga4f29b2178d21a471ee688b14d66d6567">Vec4f</a> &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d01/group__gapi__shape.html#ga11815ea485ab329e9bcafa2fb84bbc66">cv::gapi::fitLine2D</a> (const <a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a>&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga32986d8c6fd05949688352abd112509f">Point2d</a> &gt; &amp;src, const <a class="el" href="../../d7/d1b/group__imgproc__misc.html#gaa2bfbebbc5c320526897996aafa1d8eb">DistanceTypes</a> distType, const double param=0., const double reps=0., const double aeps=0.)</td></tr>
<tr class="separator:ga11815ea485ab329e9bcafa2fb84bbc66"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga74d02a2e9870b021f63c0177782a2fd9"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../de/dfd/classcv_1_1GOpaque.html">GOpaque</a>&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga74b819dd94c6a8c6f3d8cc39aeaa4992">Vec6f</a> &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d01/group__gapi__shape.html#ga74d02a2e9870b021f63c0177782a2fd9">cv::gapi::fitLine3D</a> (const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp;src, const <a class="el" href="../../d7/d1b/group__imgproc__misc.html#gaa2bfbebbc5c320526897996aafa1d8eb">DistanceTypes</a> distType, const double param=0., const double reps=0., const double aeps=0.)</td></tr>
<tr class="memdesc:ga74d02a2e9870b021f63c0177782a2fd9"><td class="mdescLeft"> </td><td class="mdescRight">Fits a line to a 3D point set.  <a href="../../d3/d01/group__gapi__shape.html#ga74d02a2e9870b021f63c0177782a2fd9">More...</a><br/></td></tr>
<tr class="separator:ga74d02a2e9870b021f63c0177782a2fd9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga62d8694787eff4597b2e691859259dab"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../de/dfd/classcv_1_1GOpaque.html">GOpaque</a>&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga74b819dd94c6a8c6f3d8cc39aeaa4992">Vec6f</a> &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d01/group__gapi__shape.html#ga62d8694787eff4597b2e691859259dab">cv::gapi::fitLine3D</a> (const <a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a>&lt; <a class="el" href="../../dc/d84/group__core__basic.html#gac4ae8f2fb37ecb4b5d9268f17e46a18e">Point3i</a> &gt; &amp;src, const <a class="el" href="../../d7/d1b/group__imgproc__misc.html#gaa2bfbebbc5c320526897996aafa1d8eb">DistanceTypes</a> distType, const double param=0., const double reps=0., const double aeps=0.)</td></tr>
<tr class="separator:ga62d8694787eff4597b2e691859259dab"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga636d5a2e52d9b4b80539913bf3f8d3e1"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../de/dfd/classcv_1_1GOpaque.html">GOpaque</a>&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga74b819dd94c6a8c6f3d8cc39aeaa4992">Vec6f</a> &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d01/group__gapi__shape.html#ga636d5a2e52d9b4b80539913bf3f8d3e1">cv::gapi::fitLine3D</a> (const <a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a>&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga3d79ceeb4419bccd0308dfdf1cd31435">Point3f</a> &gt; &amp;src, const <a class="el" href="../../d7/d1b/group__imgproc__misc.html#gaa2bfbebbc5c320526897996aafa1d8eb">DistanceTypes</a> distType, const double param=0., const double reps=0., const double aeps=0.)</td></tr>
<tr class="separator:ga636d5a2e52d9b4b80539913bf3f8d3e1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga6a8ac147bc2a557d5a488465de0d73d3"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../de/dfd/classcv_1_1GOpaque.html">GOpaque</a>&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga74b819dd94c6a8c6f3d8cc39aeaa4992">Vec6f</a> &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d01/group__gapi__shape.html#ga6a8ac147bc2a557d5a488465de0d73d3">cv::gapi::fitLine3D</a> (const <a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a>&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga17f8af95b76535bd387f4909850c8810">Point3d</a> &gt; &amp;src, const <a class="el" href="../../d7/d1b/group__imgproc__misc.html#gaa2bfbebbc5c320526897996aafa1d8eb">DistanceTypes</a> distType, const double param=0., const double reps=0., const double aeps=0.)</td></tr>
<tr class="separator:ga6a8ac147bc2a557d5a488465de0d73d3"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a id="details" name="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga835a4f683fb0106712b5cec7f9c2589a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga835a4f683fb0106712b5cec7f9c2589a">◆ </a></span>boundingRect() <span class="overload">[1/3]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../de/dfd/classcv_1_1GOpaque.html">GOpaque</a>&lt;<a class="el" href="../../dc/d84/group__core__basic.html#ga11d95de507098e90bad732b9345402e8">Rect</a>&gt; cv::gapi::boundingRect </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src</em></td><td>)</td>
          <td></td>
        </tr>
      </table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.gapi.boundingRect(</td><td class="paramname">src</td><td>)</td></tr></table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d75/gapi_2include_2opencv2_2gapi_2imgproc_8hpp.html">opencv2/gapi/imgproc.hpp</a>&gt;</code></p>
<p>Calculates the up-right bounding rectangle of a point set or non-zero pixels of gray-scale image. </p>
<p>The function calculates and returns the minimal up-right bounding rectangle for the specified point set or non-zero pixels of gray-scale image.</p>
<dl class="section note"><dt>Note</dt><dd><ul>
<li>Function textual ID is "org.opencv.imgproc.shape.boundingRectMat"</li>
<li>In case of a 2D points' set given, <a class="el" href="../../d3/d63/classcv_1_1Mat.html" title="n-dimensional dense array class ">Mat</a> should be 2-dimensional, have a single row or column if there are 2 channels, or have 2 columns if there is a single channel. <a class="el" href="../../d3/d63/classcv_1_1Mat.html" title="n-dimensional dense array class ">Mat</a> should have either <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga4067910fc388075c3ea3aa14393e83b9">CV_32S</a> or <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga4a3def5d72b74bed31f5f8ab7676099c">CV_32F</a> depth</li>
</ul>
</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>Input gray-scale image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga81df635441b21f532fdace401e04f588">CV_8UC1</a>; or input set of <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga4067910fc388075c3ea3aa14393e83b9">CV_32S</a> or <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga4a3def5d72b74bed31f5f8ab7676099c">CV_32F</a> 2D points stored in <a class="el" href="../../d3/d63/classcv_1_1Mat.html" title="n-dimensional dense array class ">Mat</a>. </td></tr>
  </table>
  </dd>
</dl>
</div>
</div>
<a id="ga1ee6d7e275919034bba507b63e20bb1e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1ee6d7e275919034bba507b63e20bb1e">◆ </a></span>boundingRect() <span class="overload">[2/3]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../de/dfd/classcv_1_1GOpaque.html">GOpaque</a>&lt;<a class="el" href="../../dc/d84/group__core__basic.html#ga11d95de507098e90bad732b9345402e8">Rect</a>&gt; cv::gapi::boundingRect </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a>&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga0f70b52f0c0b119f7ed2448ffebdc144">Point2i</a> &gt; &amp; </td>
          <td class="paramname"><em>src</em></td><td>)</td>
          <td></td>
        </tr>
      </table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.gapi.boundingRect(</td><td class="paramname">src</td><td>)</td></tr></table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d75/gapi_2include_2opencv2_2gapi_2imgproc_8hpp.html">opencv2/gapi/imgproc.hpp</a>&gt;</code></p>
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.</p>
<p>Calculates the up-right bounding rectangle of a point set.</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.imgproc.shape.boundingRectVector32S"</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>Input 2D point set, stored in std::vector&lt;cv::Point2i&gt;. </td></tr>
  </table>
  </dd>
</dl>
</div>
</div>
<a id="gaff3ba7d917af91af45fe037dbee34edc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaff3ba7d917af91af45fe037dbee34edc">◆ </a></span>boundingRect() <span class="overload">[3/3]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../de/dfd/classcv_1_1GOpaque.html">GOpaque</a>&lt;<a class="el" href="../../dc/d84/group__core__basic.html#ga11d95de507098e90bad732b9345402e8">Rect</a>&gt; cv::gapi::boundingRect </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a>&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga7d080aa40de011e4410bca63385ffe2a">Point2f</a> &gt; &amp; </td>
          <td class="paramname"><em>src</em></td><td>)</td>
          <td></td>
        </tr>
      </table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.gapi.boundingRect(</td><td class="paramname">src</td><td>)</td></tr></table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d75/gapi_2include_2opencv2_2gapi_2imgproc_8hpp.html">opencv2/gapi/imgproc.hpp</a>&gt;</code></p>
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.</p>
<p>Calculates the up-right bounding rectangle of a point set.</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.imgproc.shape.boundingRectVector32F"</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>Input 2D point set, stored in std::vector&lt;cv::Point2f&gt;. </td></tr>
  </table>
  </dd>
</dl>
</div>
</div>
<a id="ga1fd818a19d4dca0e40b5b6dfd833c29c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1fd818a19d4dca0e40b5b6dfd833c29c">◆ </a></span>findContours() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a>&lt;<a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a>&lt;<a class="el" href="../../dc/d84/group__core__basic.html#ga1e83eafb2d26b3c93f09e8338bcab192">Point</a>&gt; &gt; cv::gapi::findContours </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d3/dc0/group__imgproc__shape.html#ga819779b9857cc2f8601e6526a3a5bc71">RetrievalModes</a> </td>
          <td class="paramname"><em>mode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d3/dc0/group__imgproc__shape.html#ga4303f45752694956374734a03c54d5ff">ContourApproximationModes</a> </td>
          <td class="paramname"><em>method</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../de/dfd/classcv_1_1GOpaque.html">GOpaque</a>&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1e83eafb2d26b3c93f09e8338bcab192">Point</a> &gt; &amp; </td>
          <td class="paramname"><em>offset</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d75/gapi_2include_2opencv2_2gapi_2imgproc_8hpp.html">opencv2/gapi/imgproc.hpp</a>&gt;</code></p>
<p>Finds contours in a binary image. </p>
<p>The function retrieves contours from the binary image using the algorithm <a class="el" href="../../d0/de3/citelist.html#CITEREF_Suzuki85">[234]</a> . The contours are a useful tool for shape analysis and object detection and recognition. See squares.cpp in the OpenCV sample directory.</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.imgproc.shape.findContours"</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>Input gray-scale image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga81df635441b21f532fdace401e04f588">CV_8UC1</a>. Non-zero pixels are treated as 1's. Zero pixels remain 0's, so the image is treated as binary . You can use <a class="el" href="../../d2/de8/group__core__array.html#ga303cfb72acf8cbb36d884650c09a3a97" title="Performs the per-element comparison of two arrays or an array and scalar value. ">compare</a>, <a class="el" href="../../d0/d86/group__gapi__matrixop.html#ga76246465115220c5e5986a55298300c7" title="Applies a range-level threshold to each matrix element. ">inRange</a>, <a class="el" href="../../d0/d86/group__gapi__matrixop.html#gad538f94c264624d0ea78b853d53adcb2" title="Applies a fixed-level threshold to each matrix element. ">threshold</a> , <a class="el" href="../../d7/d1b/group__imgproc__misc.html#ga72b913f352e4a1b1b397736707afcde3" title="Applies an adaptive threshold to an array. ">adaptiveThreshold</a>, <a class="el" href="../../d5/def/group__gapi__feature.html#gad93b9f85e6abecc152d05d3e75bac37a" title="Finds edges in an image using the Canny algorithm. ">Canny</a>, and others to create a binary image out of a grayscale or color one. If mode equals to <a class="el" href="../../d3/dc0/group__imgproc__shape.html#gga819779b9857cc2f8601e6526a3a5bc71a7d1d4b509fb2a9a8dc2f960357748752">RETR_CCOMP</a>, the input can also be a 32-bit integer image of labels ( <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga32f03fbb8f73bff70215b77f5c3cac11">CV_32SC1</a> ). If <a class="el" href="../../d3/dc0/group__imgproc__shape.html#gga819779b9857cc2f8601e6526a3a5bc71acc80715d6a2a51855cb3a9a8093a9352">RETR_FLOODFILL</a> then <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga32f03fbb8f73bff70215b77f5c3cac11">CV_32SC1</a> is supported only. </td></tr>
    <tr><td class="paramname">mode</td><td>Contour retrieval mode, see <a class="el" href="../../d3/dc0/group__imgproc__shape.html#ga819779b9857cc2f8601e6526a3a5bc71" title="mode of the contour retrieval algorithm ">RetrievalModes</a> </td></tr>
    <tr><td class="paramname">method</td><td>Contour approximation method, see <a class="el" href="../../d3/dc0/group__imgproc__shape.html#ga4303f45752694956374734a03c54d5ff" title="the contour approximation algorithm ">ContourApproximationModes</a> </td></tr>
    <tr><td class="paramname">offset</td><td>Optional offset by which every contour point is shifted. This is useful if the contours are extracted from the image ROI and then they should be analyzed in the whole image context.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a> of detected contours. Each contour is stored as a <a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a> of points. </dd></dl>
</div>
</div>
<a id="ga9eae11dc4df21484b6dd20a39b9f15a4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9eae11dc4df21484b6dd20a39b9f15a4">◆ </a></span>findContours() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a>&lt;<a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a>&lt;<a class="el" href="../../dc/d84/group__core__basic.html#ga1e83eafb2d26b3c93f09e8338bcab192">Point</a>&gt; &gt; cv::gapi::findContours </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d3/dc0/group__imgproc__shape.html#ga819779b9857cc2f8601e6526a3a5bc71">RetrievalModes</a> </td>
          <td class="paramname"><em>mode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d3/dc0/group__imgproc__shape.html#ga4303f45752694956374734a03c54d5ff">ContourApproximationModes</a> </td>
          <td class="paramname"><em>method</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d75/gapi_2include_2opencv2_2gapi_2imgproc_8hpp.html">opencv2/gapi/imgproc.hpp</a>&gt;</code></p>
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p><dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.imgproc.shape.findContoursNoOffset" </dd></dl>
</div>
</div>
<a id="gae7fa75ba0e378714f4e0676cf7c30f39"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae7fa75ba0e378714f4e0676cf7c30f39">◆ </a></span>findContoursH() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::tuple&lt;<a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a>&lt;<a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a>&lt;<a class="el" href="../../dc/d84/group__core__basic.html#ga1e83eafb2d26b3c93f09e8338bcab192">Point</a>&gt; &gt;,<a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a>&lt;<a class="el" href="../../dc/d84/group__core__basic.html#ga94ce799099ae6cdd66685e3fd0cad7d7">Vec4i</a>&gt; &gt; cv::gapi::findContoursH </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d3/dc0/group__imgproc__shape.html#ga819779b9857cc2f8601e6526a3a5bc71">RetrievalModes</a> </td>
          <td class="paramname"><em>mode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d3/dc0/group__imgproc__shape.html#ga4303f45752694956374734a03c54d5ff">ContourApproximationModes</a> </td>
          <td class="paramname"><em>method</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../de/dfd/classcv_1_1GOpaque.html">GOpaque</a>&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1e83eafb2d26b3c93f09e8338bcab192">Point</a> &gt; &amp; </td>
          <td class="paramname"><em>offset</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d75/gapi_2include_2opencv2_2gapi_2imgproc_8hpp.html">opencv2/gapi/imgproc.hpp</a>&gt;</code></p>
<p>Finds contours and their hierarchy in a binary image. </p>
<p>The function retrieves contours from the binary image using the algorithm <a class="el" href="../../d0/de3/citelist.html#CITEREF_Suzuki85">[234]</a> and calculates their hierarchy. The contours are a useful tool for shape analysis and object detection and recognition. See squares.cpp in the OpenCV sample directory.</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.imgproc.shape.findContoursH"</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>Input gray-scale image <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga81df635441b21f532fdace401e04f588">CV_8UC1</a>. Non-zero pixels are treated as 1's. Zero pixels remain 0's, so the image is treated as binary . You can use <a class="el" href="../../d2/de8/group__core__array.html#ga303cfb72acf8cbb36d884650c09a3a97" title="Performs the per-element comparison of two arrays or an array and scalar value. ">compare</a>, <a class="el" href="../../d0/d86/group__gapi__matrixop.html#ga76246465115220c5e5986a55298300c7" title="Applies a range-level threshold to each matrix element. ">inRange</a>, <a class="el" href="../../d0/d86/group__gapi__matrixop.html#gad538f94c264624d0ea78b853d53adcb2" title="Applies a fixed-level threshold to each matrix element. ">threshold</a> , <a class="el" href="../../d7/d1b/group__imgproc__misc.html#ga72b913f352e4a1b1b397736707afcde3" title="Applies an adaptive threshold to an array. ">adaptiveThreshold</a>, <a class="el" href="../../d5/def/group__gapi__feature.html#gad93b9f85e6abecc152d05d3e75bac37a" title="Finds edges in an image using the Canny algorithm. ">Canny</a>, and others to create a binary image out of a grayscale or color one. If mode equals to <a class="el" href="../../d3/dc0/group__imgproc__shape.html#gga819779b9857cc2f8601e6526a3a5bc71a7d1d4b509fb2a9a8dc2f960357748752">RETR_CCOMP</a>, the input can also be a 32-bit integer image of labels ( <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga32f03fbb8f73bff70215b77f5c3cac11">CV_32SC1</a> ). If <a class="el" href="../../d3/dc0/group__imgproc__shape.html#gga819779b9857cc2f8601e6526a3a5bc71acc80715d6a2a51855cb3a9a8093a9352">RETR_FLOODFILL</a> – <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga32f03fbb8f73bff70215b77f5c3cac11">CV_32SC1</a> supports only. </td></tr>
    <tr><td class="paramname">mode</td><td>Contour retrieval mode, see <a class="el" href="../../d3/dc0/group__imgproc__shape.html#ga819779b9857cc2f8601e6526a3a5bc71" title="mode of the contour retrieval algorithm ">RetrievalModes</a> </td></tr>
    <tr><td class="paramname">method</td><td>Contour approximation method, see <a class="el" href="../../d3/dc0/group__imgproc__shape.html#ga4303f45752694956374734a03c54d5ff" title="the contour approximation algorithm ">ContourApproximationModes</a> </td></tr>
    <tr><td class="paramname">offset</td><td>Optional offset by which every contour point is shifted. This is useful if the contours are extracted from the image ROI and then they should be analyzed in the whole image context.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li><a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a> of detected contours. Each contour is stored as a <a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a> of points.</li>
<li>Optional output <a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a> of <a class="el" href="../../dc/d84/group__core__basic.html#ga94ce799099ae6cdd66685e3fd0cad7d7">cv::Vec4i</a>, containing information about the image topology. It has as many elements as the number of contours. For each i-th contour contours[i], the elements hierarchy[i][0] , hierarchy[i][1] , hierarchy[i][2] , and hierarchy[i][3] are set to 0-based indices in contours of the next and previous contours at the same hierarchical level, the first child contour and the parent contour, respectively. If for the contour i there are no next, previous, parent, or nested contours, the corresponding elements of hierarchy[i] will be negative. </li>
</ul>
</dd></dl>
</div>
</div>
<a id="gad5b9c4926ec507e5c7ad98955da3b2b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad5b9c4926ec507e5c7ad98955da3b2b3">◆ </a></span>findContoursH() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::tuple&lt;<a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a>&lt;<a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a>&lt;<a class="el" href="../../dc/d84/group__core__basic.html#ga1e83eafb2d26b3c93f09e8338bcab192">Point</a>&gt; &gt;,<a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a>&lt;<a class="el" href="../../dc/d84/group__core__basic.html#ga94ce799099ae6cdd66685e3fd0cad7d7">Vec4i</a>&gt; &gt; cv::gapi::findContoursH </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d3/dc0/group__imgproc__shape.html#ga819779b9857cc2f8601e6526a3a5bc71">RetrievalModes</a> </td>
          <td class="paramname"><em>mode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d3/dc0/group__imgproc__shape.html#ga4303f45752694956374734a03c54d5ff">ContourApproximationModes</a> </td>
          <td class="paramname"><em>method</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d75/gapi_2include_2opencv2_2gapi_2imgproc_8hpp.html">opencv2/gapi/imgproc.hpp</a>&gt;</code></p>
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p><dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.imgproc.shape.findContoursHNoOffset" </dd></dl>
</div>
</div>
<a id="gacb3256a3338a0a73bb22ccac4a7fc912"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gacb3256a3338a0a73bb22ccac4a7fc912">◆ </a></span>fitLine2D() <span class="overload">[1/4]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../de/dfd/classcv_1_1GOpaque.html">GOpaque</a>&lt;<a class="el" href="../../dc/d84/group__core__basic.html#ga4f29b2178d21a471ee688b14d66d6567">Vec4f</a>&gt; cv::gapi::fitLine2D </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d7/d1b/group__imgproc__misc.html#gaa2bfbebbc5c320526897996aafa1d8eb">DistanceTypes</a> </td>
          <td class="paramname"><em>distType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double </td>
          <td class="paramname"><em>param</em> = <code>0.</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double </td>
          <td class="paramname"><em>reps</em> = <code>0.</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double </td>
          <td class="paramname"><em>aeps</em> = <code>0.</code> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d75/gapi_2include_2opencv2_2gapi_2imgproc_8hpp.html">opencv2/gapi/imgproc.hpp</a>&gt;</code></p>
<p>Fits a line to a 2D point set. </p>
<p>The function fits a line to a 2D point set by minimizing \(\sum_i \rho(r_i)\) where \(r_i\) is a distance between the \(i^{th}\) point, the line and \(\rho(r)\) is a distance function, one of the following:</p><ul>
<li>DIST_L2 <p class="formulaDsp">
\[\rho (r) = r^2/2 \quad \text{(the simplest and the fastest least-squares method)}\]
</p>
</li>
<li>DIST_L1 <p class="formulaDsp">
\[\rho (r) = r\]
</p>
</li>
<li>DIST_L12 <p class="formulaDsp">
\[\rho (r) = 2 \cdot ( \sqrt{1 + \frac{r^2}{2}} - 1)\]
</p>
</li>
<li>DIST_FAIR <p class="formulaDsp">
\[\rho \left (r \right ) = C^2 \cdot \left ( \frac{r}{C} - \log{\left(1 + \frac{r}{C}\right)} \right ) \quad \text{where} \quad C=1.3998\]
</p>
</li>
<li>DIST_WELSCH <p class="formulaDsp">
\[\rho \left (r \right ) = \frac{C^2}{2} \cdot \left ( 1 - \exp{\left(-\left(\frac{r}{C}\right)^2\right)} \right ) \quad \text{where} \quad C=2.9846\]
</p>
</li>
<li>DIST_HUBER <p class="formulaDsp">
\[\rho (r) = \fork{r^2/2}{if \(r &lt; C\)}{C \cdot (r-C/2)}{otherwise} \quad \text{where} \quad C=1.345\]
</p>
</li>
</ul>
<p>The algorithm is based on the M-estimator ( <a href="http://en.wikipedia.org/wiki/M-estimator">http://en.wikipedia.org/wiki/M-estimator</a> ) technique that iteratively fits the line using the weighted least-squares algorithm. After each iteration the weights \(w_i\) are adjusted to be inversely proportional to \(\rho(r_i)\) .</p>
<dl class="section note"><dt>Note</dt><dd><ul>
<li>Function textual ID is "org.opencv.imgproc.shape.fitLine2DMat"</li>
<li>In case of an N-dimentional points' set given, <a class="el" href="../../d3/d63/classcv_1_1Mat.html" title="n-dimensional dense array class ">Mat</a> should be 2-dimensional, have a single row or column if there are N channels, or have N columns if there is a single channel.</li>
</ul>
</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>Input set of 2D points stored in one of possible containers: <a class="el" href="../../d3/d63/classcv_1_1Mat.html" title="n-dimensional dense array class ">Mat</a>, std::vector&lt;cv::Point2i&gt;, std::vector&lt;cv::Point2f&gt;, std::vector&lt;cv::Point2d&gt;. </td></tr>
    <tr><td class="paramname">distType</td><td>Distance used by the M-estimator, see <a class="el" href="../../d7/d1b/group__imgproc__misc.html#gaa2bfbebbc5c320526897996aafa1d8eb">DistanceTypes</a>. <a class="el" href="../../d7/d1b/group__imgproc__misc.html#ggaa2bfbebbc5c320526897996aafa1d8ebaa0bb8d897ba16dbf5a3ca96c71219a32">DIST_USER</a> and <a class="el" href="../../d7/d1b/group__imgproc__misc.html#ggaa2bfbebbc5c320526897996aafa1d8eba507b16eb5ef95ea784ca1b3cb7b0d7ee">DIST_C</a> are not suppored. </td></tr>
    <tr><td class="paramname">param</td><td>Numerical parameter ( C ) for some types of distances. If it is 0, an optimal value is chosen. </td></tr>
    <tr><td class="paramname">reps</td><td>Sufficient accuracy for the radius (distance between the coordinate origin and the line). 1.0 would be a good default value for reps. If it is 0, a default value is chosen. </td></tr>
    <tr><td class="paramname">aeps</td><td>Sufficient accuracy for the angle. 0.01 would be a good default value for aeps. If it is 0, a default value is chosen.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Output line parameters: a vector of 4 elements (like Vec4f) - (vx, vy, x0, y0), where (vx, vy) is a normalized vector collinear to the line and (x0, y0) is a point on the line. </dd></dl>
</div>
</div>
<a id="ga9f160d6d8c1391f52def4b131cfe081c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9f160d6d8c1391f52def4b131cfe081c">◆ </a></span>fitLine2D() <span class="overload">[2/4]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../de/dfd/classcv_1_1GOpaque.html">GOpaque</a>&lt;<a class="el" href="../../dc/d84/group__core__basic.html#ga4f29b2178d21a471ee688b14d66d6567">Vec4f</a>&gt; cv::gapi::fitLine2D </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a>&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga0f70b52f0c0b119f7ed2448ffebdc144">Point2i</a> &gt; &amp; </td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d7/d1b/group__imgproc__misc.html#gaa2bfbebbc5c320526897996aafa1d8eb">DistanceTypes</a> </td>
          <td class="paramname"><em>distType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double </td>
          <td class="paramname"><em>param</em> = <code>0.</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double </td>
          <td class="paramname"><em>reps</em> = <code>0.</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double </td>
          <td class="paramname"><em>aeps</em> = <code>0.</code> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d75/gapi_2include_2opencv2_2gapi_2imgproc_8hpp.html">opencv2/gapi/imgproc.hpp</a>&gt;</code></p>
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.imgproc.shape.fitLine2DVector32S" </dd></dl>
</div>
</div>
<a id="gaa254b4262949c7e5295eec09d6d78c18"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa254b4262949c7e5295eec09d6d78c18">◆ </a></span>fitLine2D() <span class="overload">[3/4]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../de/dfd/classcv_1_1GOpaque.html">GOpaque</a>&lt;<a class="el" href="../../dc/d84/group__core__basic.html#ga4f29b2178d21a471ee688b14d66d6567">Vec4f</a>&gt; cv::gapi::fitLine2D </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a>&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga7d080aa40de011e4410bca63385ffe2a">Point2f</a> &gt; &amp; </td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d7/d1b/group__imgproc__misc.html#gaa2bfbebbc5c320526897996aafa1d8eb">DistanceTypes</a> </td>
          <td class="paramname"><em>distType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double </td>
          <td class="paramname"><em>param</em> = <code>0.</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double </td>
          <td class="paramname"><em>reps</em> = <code>0.</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double </td>
          <td class="paramname"><em>aeps</em> = <code>0.</code> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d75/gapi_2include_2opencv2_2gapi_2imgproc_8hpp.html">opencv2/gapi/imgproc.hpp</a>&gt;</code></p>
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.imgproc.shape.fitLine2DVector32F" </dd></dl>
</div>
</div>
<a id="ga11815ea485ab329e9bcafa2fb84bbc66"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga11815ea485ab329e9bcafa2fb84bbc66">◆ </a></span>fitLine2D() <span class="overload">[4/4]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../de/dfd/classcv_1_1GOpaque.html">GOpaque</a>&lt;<a class="el" href="../../dc/d84/group__core__basic.html#ga4f29b2178d21a471ee688b14d66d6567">Vec4f</a>&gt; cv::gapi::fitLine2D </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a>&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga32986d8c6fd05949688352abd112509f">Point2d</a> &gt; &amp; </td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d7/d1b/group__imgproc__misc.html#gaa2bfbebbc5c320526897996aafa1d8eb">DistanceTypes</a> </td>
          <td class="paramname"><em>distType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double </td>
          <td class="paramname"><em>param</em> = <code>0.</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double </td>
          <td class="paramname"><em>reps</em> = <code>0.</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double </td>
          <td class="paramname"><em>aeps</em> = <code>0.</code> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d75/gapi_2include_2opencv2_2gapi_2imgproc_8hpp.html">opencv2/gapi/imgproc.hpp</a>&gt;</code></p>
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.imgproc.shape.fitLine2DVector64F" </dd></dl>
</div>
</div>
<a id="ga74d02a2e9870b021f63c0177782a2fd9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga74d02a2e9870b021f63c0177782a2fd9">◆ </a></span>fitLine3D() <span class="overload">[1/4]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../de/dfd/classcv_1_1GOpaque.html">GOpaque</a>&lt;<a class="el" href="../../dc/d84/group__core__basic.html#ga74b819dd94c6a8c6f3d8cc39aeaa4992">Vec6f</a>&gt; cv::gapi::fitLine3D </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/daa/classcv_1_1GMat.html">GMat</a> &amp; </td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d7/d1b/group__imgproc__misc.html#gaa2bfbebbc5c320526897996aafa1d8eb">DistanceTypes</a> </td>
          <td class="paramname"><em>distType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double </td>
          <td class="paramname"><em>param</em> = <code>0.</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double </td>
          <td class="paramname"><em>reps</em> = <code>0.</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double </td>
          <td class="paramname"><em>aeps</em> = <code>0.</code> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d75/gapi_2include_2opencv2_2gapi_2imgproc_8hpp.html">opencv2/gapi/imgproc.hpp</a>&gt;</code></p>
<p>Fits a line to a 3D point set. </p>
<p>The function fits a line to a 3D point set by minimizing \(\sum_i \rho(r_i)\) where \(r_i\) is a distance between the \(i^{th}\) point, the line and \(\rho(r)\) is a distance function, one of the following:</p><ul>
<li>DIST_L2 <p class="formulaDsp">
\[\rho (r) = r^2/2 \quad \text{(the simplest and the fastest least-squares method)}\]
</p>
</li>
<li>DIST_L1 <p class="formulaDsp">
\[\rho (r) = r\]
</p>
</li>
<li>DIST_L12 <p class="formulaDsp">
\[\rho (r) = 2 \cdot ( \sqrt{1 + \frac{r^2}{2}} - 1)\]
</p>
</li>
<li>DIST_FAIR <p class="formulaDsp">
\[\rho \left (r \right ) = C^2 \cdot \left ( \frac{r}{C} - \log{\left(1 + \frac{r}{C}\right)} \right ) \quad \text{where} \quad C=1.3998\]
</p>
</li>
<li>DIST_WELSCH <p class="formulaDsp">
\[\rho \left (r \right ) = \frac{C^2}{2} \cdot \left ( 1 - \exp{\left(-\left(\frac{r}{C}\right)^2\right)} \right ) \quad \text{where} \quad C=2.9846\]
</p>
</li>
<li>DIST_HUBER <p class="formulaDsp">
\[\rho (r) = \fork{r^2/2}{if \(r &lt; C\)}{C \cdot (r-C/2)}{otherwise} \quad \text{where} \quad C=1.345\]
</p>
</li>
</ul>
<p>The algorithm is based on the M-estimator ( <a href="http://en.wikipedia.org/wiki/M-estimator">http://en.wikipedia.org/wiki/M-estimator</a> ) technique that iteratively fits the line using the weighted least-squares algorithm. After each iteration the weights \(w_i\) are adjusted to be inversely proportional to \(\rho(r_i)\) .</p>
<dl class="section note"><dt>Note</dt><dd><ul>
<li>Function textual ID is "org.opencv.imgproc.shape.fitLine3DMat"</li>
<li>In case of an N-dimentional points' set given, <a class="el" href="../../d3/d63/classcv_1_1Mat.html" title="n-dimensional dense array class ">Mat</a> should be 2-dimensional, have a single row or column if there are N channels, or have N columns if there is a single channel.</li>
</ul>
</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>Input set of 3D points stored in one of possible containers: <a class="el" href="../../d3/d63/classcv_1_1Mat.html" title="n-dimensional dense array class ">Mat</a>, std::vector&lt;cv::Point3i&gt;, std::vector&lt;cv::Point3f&gt;, std::vector&lt;cv::Point3d&gt;. </td></tr>
    <tr><td class="paramname">distType</td><td>Distance used by the M-estimator, see <a class="el" href="../../d7/d1b/group__imgproc__misc.html#gaa2bfbebbc5c320526897996aafa1d8eb">DistanceTypes</a>. <a class="el" href="../../d7/d1b/group__imgproc__misc.html#ggaa2bfbebbc5c320526897996aafa1d8ebaa0bb8d897ba16dbf5a3ca96c71219a32">DIST_USER</a> and <a class="el" href="../../d7/d1b/group__imgproc__misc.html#ggaa2bfbebbc5c320526897996aafa1d8eba507b16eb5ef95ea784ca1b3cb7b0d7ee">DIST_C</a> are not suppored. </td></tr>
    <tr><td class="paramname">param</td><td>Numerical parameter ( C ) for some types of distances. If it is 0, an optimal value is chosen. </td></tr>
    <tr><td class="paramname">reps</td><td>Sufficient accuracy for the radius (distance between the coordinate origin and the line). 1.0 would be a good default value for reps. If it is 0, a default value is chosen. </td></tr>
    <tr><td class="paramname">aeps</td><td>Sufficient accuracy for the angle. 0.01 would be a good default value for aeps. If it is 0, a default value is chosen.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Output line parameters: a vector of 6 elements (like Vec6f) - (vx, vy, vz, x0, y0, z0), where (vx, vy, vz) is a normalized vector collinear to the line and (x0, y0, z0) is a point on the line. </dd></dl>
</div>
</div>
<a id="ga62d8694787eff4597b2e691859259dab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga62d8694787eff4597b2e691859259dab">◆ </a></span>fitLine3D() <span class="overload">[2/4]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../de/dfd/classcv_1_1GOpaque.html">GOpaque</a>&lt;<a class="el" href="../../dc/d84/group__core__basic.html#ga74b819dd94c6a8c6f3d8cc39aeaa4992">Vec6f</a>&gt; cv::gapi::fitLine3D </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a>&lt; <a class="el" href="../../dc/d84/group__core__basic.html#gac4ae8f2fb37ecb4b5d9268f17e46a18e">Point3i</a> &gt; &amp; </td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d7/d1b/group__imgproc__misc.html#gaa2bfbebbc5c320526897996aafa1d8eb">DistanceTypes</a> </td>
          <td class="paramname"><em>distType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double </td>
          <td class="paramname"><em>param</em> = <code>0.</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double </td>
          <td class="paramname"><em>reps</em> = <code>0.</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double </td>
          <td class="paramname"><em>aeps</em> = <code>0.</code> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d75/gapi_2include_2opencv2_2gapi_2imgproc_8hpp.html">opencv2/gapi/imgproc.hpp</a>&gt;</code></p>
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.imgproc.shape.fitLine3DVector32S" </dd></dl>
</div>
</div>
<a id="ga636d5a2e52d9b4b80539913bf3f8d3e1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga636d5a2e52d9b4b80539913bf3f8d3e1">◆ </a></span>fitLine3D() <span class="overload">[3/4]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../de/dfd/classcv_1_1GOpaque.html">GOpaque</a>&lt;<a class="el" href="../../dc/d84/group__core__basic.html#ga74b819dd94c6a8c6f3d8cc39aeaa4992">Vec6f</a>&gt; cv::gapi::fitLine3D </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a>&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga3d79ceeb4419bccd0308dfdf1cd31435">Point3f</a> &gt; &amp; </td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d7/d1b/group__imgproc__misc.html#gaa2bfbebbc5c320526897996aafa1d8eb">DistanceTypes</a> </td>
          <td class="paramname"><em>distType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double </td>
          <td class="paramname"><em>param</em> = <code>0.</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double </td>
          <td class="paramname"><em>reps</em> = <code>0.</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double </td>
          <td class="paramname"><em>aeps</em> = <code>0.</code> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d75/gapi_2include_2opencv2_2gapi_2imgproc_8hpp.html">opencv2/gapi/imgproc.hpp</a>&gt;</code></p>
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.imgproc.shape.fitLine3DVector32F" </dd></dl>
</div>
</div>
<a id="ga6a8ac147bc2a557d5a488465de0d73d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6a8ac147bc2a557d5a488465de0d73d3">◆ </a></span>fitLine3D() <span class="overload">[4/4]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../de/dfd/classcv_1_1GOpaque.html">GOpaque</a>&lt;<a class="el" href="../../dc/d84/group__core__basic.html#ga74b819dd94c6a8c6f3d8cc39aeaa4992">Vec6f</a>&gt; cv::gapi::fitLine3D </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d3/d44/classcv_1_1GArray.html">GArray</a>&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga17f8af95b76535bd387f4909850c8810">Point3d</a> &gt; &amp; </td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d7/d1b/group__imgproc__misc.html#gaa2bfbebbc5c320526897996aafa1d8eb">DistanceTypes</a> </td>
          <td class="paramname"><em>distType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double </td>
          <td class="paramname"><em>param</em> = <code>0.</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double </td>
          <td class="paramname"><em>reps</em> = <code>0.</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double </td>
          <td class="paramname"><em>aeps</em> = <code>0.</code> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d75/gapi_2include_2opencv2_2gapi_2imgproc_8hpp.html">opencv2/gapi/imgproc.hpp</a>&gt;</code></p>
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.</p>
<dl class="section note"><dt>Note</dt><dd>Function textual ID is "org.opencv.imgproc.shape.fitLine3DVector64F" </dd></dl>
</div>
</div>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 2 2021 11:36:41 for OpenCV by  <a href="http://www.doxygen.org/index.html">
<img alt="doxygen" class="footer" src="../../doxygen.png"/>
</a> 1.8.13
</small></address>
<script type="text/javascript">
//<![CDATA[
addTutorialsButtons();
//]]>
</script>
</body>
</html>
